import {createRouter , createWebHashHistory} from 'vue-router'
import save from '../components/save.vue'
import show from '../components/show.vue'

let router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:"/",
            redirect:"/save"
        },
        {
            path:"/save",
            component:save
        },
        {
            path:"/show",
            component:show
        }
    ]
});

//路由守卫

export default router;